package com.cms.mapper;

import java.util.List;

import com.cms.domain.Template;

public interface TemplateDao {
	
	public Template getById(Long id);
	
	public Template getByKey(String key_word);
	
	public List<Template> getListByIdSbj(Long id_sbj);
	
	public List<Template> getListForPageByIdSbj(Long id_sbj, int startIndex, int size);
	
	public List<Template> getList(Template searchEntity);
	
	public void add(Template entity);
	
	public void delete(Template entity);
	
	public void update(Template entity);
	
	public Integer getRowCount(Long id_sbj);

}
